]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: Handle keypress if numlock is enabled
authorAndrea Azzarone <andrea.azzarone@canonical.com>
Wed, 12 Sep 2018 20:13:04 +0000 (22:13 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 11 Oct 2018 07:45:44 +0000 (07:45 +0000)
commit88556226669067585bf05c8d78624a072c41b98f
tree4b02f8e7b4dbf9a12e11be9949a1f4efb19cb85d
parent655234e6c372481afadea164b28b0fef149e7d75
popupMenu: Handle keypress if numlock is enabled

Add exception to handle a keypress if numlock is enabled as we already do for
capslock. This uses Clutter.ModifierType.MOD2_MASK because at the moment there
is not a more explicit way to refer to the numlock mask.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/550
js/ui/popupMenu.js